﻿
using BCVP.Net8.Model;
using Newtonsoft.Json;

namespace BCVP.Net8.Repository//仓储层
{
  public class UserRepository : IUserRepository
  {
    public async Task<List<User>> Query()
    {
      await Task.CompletedTask;
      string time=DateTime.Now.ToLongTimeString();
      var data = "[{\"Id\":18,\"Name\":\""+time+"\"}]";
      return JsonConvert.DeserializeObject<List<User>>(data) ?? [];
    }
  }
}
